Part Number Hot Search : 
0A170 TMEGA1 CAK15D14 BIP030A MC5522 4N38SR2M AD642S 4110B
Product Description
Full Text Search
 

To Download CS4298-JQ Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  preliminary product information this document contains information for a new product. cirrus logic reserves the right to modify this product without notice. 1 copyright ? cirrus logic, inc. 1999 (all rights reserved) p.o. box 17847, austin, texas 78760 (512) 445 7222 fax: (512) 445 7581 http://www.cirrus.com features n ac 97 2.0 compatible n 20-bit stereo output and 18-bit stereo input codec with fixed 48 khz sampling rate n 20-bit output and 18-bit input dual modem afe with fixed 48 khz sampling rate n dedicated adc for handset or speakerphone n four analog line-level stereo inputs for connec- tion from line in, cd, video, and aux n high quality pseudo-differential cd input n dual stereo line level output with independent 6- bit volume control n 10 general purpose i/o pins for modem daa controls n iec-958 digital output (s/pdif) n meets or exceeds microsoft's ? pc 98 and pc 99 audio performance requirements n crystalclear? 3d stereo enhancement description the cs4298 is an ac 97 compatible audio/mo- dem codec designed for pc multimedia systems. using the industry leading crystalclear? delta- sigma and mixed signal technology, the cs4298 is ideal for pc 98-compliant desktop, notebook, and entertainment pcs, where high-quality audio and modem features are required.the cs4298 offers four channels of d/a and a/d conversion along with analog mixing and 3d processing. for multi- channel audio systems, the cs4298 can provide four audio channels. for combined audio/modem systems, the cs4298 can provide a modem afe, voice codec, and stereo audio codec.. ordering information cs4298 -kq 64-pin tqfp 10x10x1.4mm cs4298 -jq 64-pin tqfp 10x10x1.4mm vol mute mute mute mute vol vol vol +20db dac 3d stereo to mono mixer vol vol output buffer output buffer master volume alternate volume main d/a converters pcm_out pcm out path stereo input mixer stereo output mixer s s s mic1 aux cd line mode control sync sdata_out mute vol adc input mux vol mute adc main adc gain adc dac reset# alt_line_out line_out gpio bit_clk sdata_in ac-link interface 2 / 2 / 2 / 2 / 2 / 2 / 2 / 10 / 3 / mic2 mic select video mute vol 2 / mute vol adc dac vol vol vol vol vref (loopback) htx- (loopback) htx+ vref (loopback) mtx- (loopback) mtx+ mrx+ mrx- hrx+ hrx- hrx- hrx+ mrx+ mrx- class ab dif out - + + - class ab dif out - + + - mtx+ mtx- htx+ htx- soundfusion ? audio/modem codec 97(amc97) cs4298 aug 99 ds315pp2
cs4298 2 ds315pp2 table of contents 1. characteristics and specifications ........................................................................ 5 audio analog characteristics.................................................................................... 5 absolute maximum ratings ........................................................................................... 6 recommended operating conditions ....................................................................... 6 mixer characteristics.................................................................................................... 6 modem characteristics ................................................................................................. 7 serial port timing............................................................................................................. 9 2. general description ..................................................................................................... 12 2.1 overview ................................................................................................................... ........ 12 2.2 modes of operation ......................................................................................................... .12 2.2.1 mode 0 ................................................................................................................... .12 2.2.2 mode 1 ................................................................................................................... .12 2.2.3 mode 2 ................................................................................................................... .12 2.2.4 mode 3 ................................................................................................................... .12 3. digital section ........................................................................................................... ...... 13 3.1 ac-link .................................................................................................................... ......... 13 3.2 control registers.......................................................................................................... ...... 13 4. analog section ............................................................................................................ .... 14 4.1 audio output mixer ......................................................................................................... .. 14 4.2 audio input mux ............................................................................................................ .... 14 4.3 audio input mixer .......................................................................................................... .... 14 4.4 audio volume control ....................................................................................................... 14 5. ac 97 .................................................................................................................... ................. 16 5.1 ac 97 frame definition.................................................................................................... 1 6 5.2 ac-link serial data output frame ................................................................................... 16 5.3 ac-link audiooutput frame............................................................................................. 17 5.3.1 serial data output slot tags (slot 0)............................................................................. 17 5.3.2 register address (slot 1)............................................................................................... 1 7 5.3.3 register write data (slot 2) ........................................................................................... 18 5.3.4 playback data (slots 3-11) ............................................................................................ 18 5.3.5 gpio data (slot12)....................................................................................................... .18 5.4 ac-link audio input frame............................................................................................... 18 5.4.1 serial data input slot tag bits (slot 0) ......................................................................... 18 5.4.2 read-back address port (slot 1)................................................................................... 19 5.4.3 read-back data port (slot 2) ........................................................................................ 19 5.4.4 pcm capture data (slot 3-11)....................................................................................... 19 5.4.5 gpio pin status (slot 12).............................................................................................. 19 contacting cirrus logic support for a complete listing of direct sales, distributor, and sales representative contacts, visit the cirrus logic web site at: http://www.cirrus.com/corporate/contacts/ preliminary product information describes products which are in production, but for which full characterization data is not yet available. advance product infor- mation describes products which are in development and subject to development changes. cirrus logic, inc. has made best efforts to ensure that the information contained in this document is accurate and reliable. however, the information is subject to change without notice and is provid e d as is without warranty of any kind (express or implied). no responsibility is assumed by cirrus logic, inc. for the use of this information, nor for infringe ments of patents or other rights of third parties. this document is the property of cirrus logic, inc. and implies no license under patents, copyrights, trademarks, or t rade secrets. no part of this publi- cation may be copied, reproduced, stored in a retrieval system, or transmitted, in any form or by any means (electronic, mechan ical, photographic, or otherwise) without the prior written consent of cirrus logic, inc. items from any cirrus logic webbiest or disk may be printed for use by the user. however, no part of the printout or electronic files may be copied, reproduced, stored in a retrieval system, or transmitted, in any form or by any mea ns (electronic, mechanical, photo- graphic, or otherwise) without the prior written consent of cirrus logic, inc.furthermore, no part of this publication may be u sed as a basis for manufacture or sale of any items without the prior written consent of cirrus logic, inc. the names of products of cirrus logic, inc. or other vendors and suppliers appearing in this document may be trademarks or service marks of their respective owners which may be registered in some jurisdictions. a li st of cirrus logic, inc. trade- marks and service marks can be found at http ://www.cirrus.com.
cs4298 ds315pp2 3 5.5 ac 97 reset modes......................................................................................................... 2 0 5.5.1 cold ac 97 reset................................................................................................... 20 5.5.2 warm ac 97 reset ................................................................................................ 20 5.5.3 ac 97 register reset............................................................................................. 20 5.6 ac-link protocol violation - loss of sync ...................................................................... 20 6. register interface ........................................................................................................ 21 6.1 register descriptions ...................................................................................................... .23 6.1.1 reset (index 00h) ....................................................................................................... .. 23 6.1.2 master volume (index 02h) .......................................................................................... 23 6.1.3 alternate volume (index 04h) ....................................................................................... 24 6.1.4 microphone volume (index 0eh) ................................................................................... 24 6.1.5 stereo analog mixer input gain (indexs 10h - 18h) ..................................................... 25 6.1.6 input mux select (index 1ah) ........................................................................................ 25 6.1.7 record gain (index 1ch)............................................................................................... 26 6.1.8 record gain microphone (index 1eh) ........................................................................... 26 6.1.9 general purpose (index 20h) ........................................................................................ 26 6.1.10 3d control (index 22h) ................................................................................................ 26 6.1.11 power down control/status (index 26h) ..................................................................... 27 6.1.12 extended audio id (index 28h) .................................................................................. 28 6.1.13 extended audio status / control (index 2ah) ............................................................. 28 6.1.14 pcm front dac rate (index 2ch) ........................................................................... 29 6.1.15 pcm surround dac rate (index 2eh) ..................................................................... 29 6.1.16 pcm lfe dac rate (index 30h) .............................................................................. 29 6.1.17 pcm lr adc rate (index 32h)................................................................................... 29 6.1.18 pcm mic adc rate (index 34h)................................................................................. 29 6.1.19 center lfe volume (index 36h) .................................................................................. 30 6.1.20 lr surround volume (index 38h) ................................................................................ 30 6.1.21 extended modem id (index 3ch) ............................................................................... 30 6.1.22 extended modem id (index 3eh) ............................................................................... 31 6.1.23 line 1 dac/adc rate (index 40h) .............................................................................. 31 6.1.24 line 2 dac/adc rate (index 42h) .............................................................................. 31 6.1.25 handset dac/adc rate (index 44h) .......................................................................... 32 6.1.26 line 1 dac/adc level (index 46h) ............................................................................. 32 6.1.27 line 2 dac/adc level (index 48h) ............................................................................. 32 6.1.28 handset dac/adc level (index 4ah)......................................................................... 32 6.1.29 gpio pin configuration (index 4ch) ........................................................................... 33 6.1.30 gpio pin polarity/type configuration (index 4eh) ..................................................... 33 6.1.31 gpio pin sticky (index 50h)........................................................................................ 33 6.1.32 gpio pin wakeup mask (index 4ch) ......................................................................... 34 6.1.33 gpio pin status (index 54h) ....................................................................................... 34 6.1.34 misc. modem afe status (index 56h) ........................................................................ 34 6.1.35 ac mode control (index 5eh) ..................................................................................... 35 6.1.36 s/pdif control (index 68h) ......................................................................................... 35 6.1.37 vendor id1 (index 7ch)............................................................................................... 36 6.1.38 vendor id2 (index 7eh) ............................................................................................... 36 7. analog hardware description ................................................................................. 37 7.1 line-level inputs .......................................................................................................... .... 37 7.2 microphone level inputs .................................................................................................. 38 7.3 line level outputs......................................................................................................... ... 38 7.4 consumer iec-958 digital interface (s/pdif) .................................................................. 39 7.5 miscellaneous analog signals .......................................................................................... 39 7.6 power supplies............................................................................................................. .... 40 7.7 hybrid interface ........................................................................................................... ..... 41
cs4298 4 ds315pp2 8. pin descriptions .......................................................................................................... .... 42 8.1 g2 ........................................................................................................................ ............. 43 8.2 analog i/o pins ........................................................................................................... ..... 45 8.3 filter and reference pins ................................................................................................ 4 6 8.4 modem/telephony ........................................................................................................... 47 8.5 power supplies ............................................................................................................ .... 48 9. parameter and term definitions .............................................................................. 49 10. references ............................................................................................................... ....... 50 11. package dimensions ..................................................................................................... 51 list of figures figure 1. power up timing...................................................................................................... ...... 10 figure 2. clocks ............................................................................................................... ............. 10 figure 3. codec ready from startup or fault condition ............................................................... 10 figure 4. data setup and hold.................................................................................................. .... 11 figure 5. pr4 powerdown ........................................................................................................ .... 11 figure 6. test mode ............................................................................................................ .......... 11 figure 7. ac-link connections.................................................................................................. ..... 13 figure 8. mixer diagram........................................................................................................ ........ 15 figure 9. ac-link input and output framing.................................................................................. 16 figure 10. line inputs......................................................................................................... ........... 37 figure 11. differential cdrom in ............................................................................................... .. 37 figure 12. pc 99 microphone pre-amplifier ................................................................................. 38 figure 13. headphones driver ................................................................................................... ... 39 figure 14. iec-958 interface examples ........................................................................................ 40 figure 15. voltage regulator ................................................................................................... ..... 40 figure 16. hybrid circuit secondary ........................................................................................... .41 list of tables table 1. mixer registers ....................................................................................................... ........ 21 table 2. alternate line-out and master mono attenuation ........................................................... 24 table 3. analog mixer input gain values...................................................................................... 24 table 4. stereo volume register index ........................................................................................ 25 table 5. input mux selection................................................................................................... ...... 25 table 6. 6 channel volume attenuation........................................................................................ 30 table 7. gpio input/output configuration .................................................................................... 33 table 8. misc. modem configuration............................................................................................. 34 table 9. slot assignments..................................................................................................... ....... 35 table 10. reg. 7eh defined part ids ........................................................................................... 36
cs4298 ds315pp2 5 1. characteristics and specifications audio analog characteristics (standard test conditions unless otherwise noted: t ambient = 25 c, avdd = 5.0 v 5%, dvdd = 3.3 v 5%; 1 khz input sine wave; sample frequency, fs = 48 khz; z al =10 k w/ 680 pf load c dl = 18 pf load (note 1); measurement bandwidth is 20 hz - 20 khz, 18-bit linear coding for adc, 20-bit linear coding for dac; mixer registers set for unity gain. notes: 1. z al refers to the analog output pin loading and c dl refers to the digital output pin loading. 2. parameter definitions are given in the parameter and term definitions section. 3. path refers to the signal path used to generate this data. these paths are defined in the parameter and term definition section. 4. typical measured with z al =47k w /680 pf load. 5. this specification is guaranteed by silicon characterization, it is not production tested. parameter (note 2 )symbol path (note 3) cs4298-kq CS4298-JQ unit min typ max min typ max full scale analog input voltage line inputs mic inputs (20 db=0) mic inputs (20 db=1) a-d a-d a-d 0.91 0.91 0.091 1.00 1.00 0.10 - - - 0.91 0.91 0.091 1.00 1.00 0.10 - - - v rms v rms v rms full scale output voltage (note 4) line and alternate line outputs d-a 0.91 1.0 1.13 0.91 1.0 1.13 v rms frequency response analog ac = 0.5 db dac ac = 0.5 db adc ac = 0.5 db fr a-a d-a a-d 20 20 20 - - - 20,000 20,000 20,000 20 20 20 - - - 20,000 20,000 20,000 hz hz hz dynamic range stereo analog inputs to line_out mono analog inputs to line_out dac dynamic range adc dynamic range dr a-a a-a d-a a-d 90 85 85 85 95 90 90 90 - - - - - - - - 90 85 87 85 - - - - db fs a db fs a db fs a db fs a dac snr (-20 db fs input w/ ccir-rms filter on output) snr d-a - 63 - - - - db total harmonic distortion + noise (-3 db fs input signal): line/alternate line output dac adc (all inputs except phone/mic) adc (phone/mic) thd+n a-a d-a a-d a-d - - - - -94 -86 -87 -87 -80 -80 -80 -74 - - - - - - - - -74 -74 -74 -74 db fs a db fs a db fs a db fs a power supply rejection ratio (1 khz, 0.5 v rms w/ 5 v dc offset)(note 5) 40 60 - - 40 - db interchannel isolation 70 87 - - 87 - db spurious tone (note 5) - -100 - - -100 - db fs input impedance (note 5) 10 - - 10 - - k w external load impedance 10 - - 10 - - k w output impedance (note 5) - 730 - - 730 - w input capacitance (note 5) - 5 - - 5 - pf vrefout 2.0 2.3 2.4 2.0 2.3 2.4 v
cs4298 6 ds315pp2 absolute maximum ratings (avss1 = avss2 = dvss1 = dvss2 = 0 v) recommended operating conditions (avss1 = avss2 = dvss1 = dvss2 = 0 v) mixer characteristics (for cs4298 -kq only) parameter min typ max unit power supplies +3.3 v digital +5 v digital analog -0.3 -0.3 -0.3 - - - 6.0 6.0 6.0 v v v total power dissipation (supplies, inputs, outputs) - - 750 mw input current per pin (except supply pins) -10 - 10 ma output current per pin (except supply pins) -15 - 15 ma analog input voltage -0.3 - avdd+ 0.3 v digital input voltage -0.3 - dvdd + 0.3 v ambient temperature (power applied) -55 - 110 c storage temperature -65 - 150 c parameter symbol min typ max unit power supplies +3.3 v digital +5 v digital analog dvdd1, dvdd2 dvdd1, dvdd2 avdd1, avdd2 3.135 4.75 4.75 3.3 5 5 3.465 5.25 5.25 v v v operating current +3.3 v digital +5 v digital analog dvdd1, dvdd2 dvdd1, dvdd2 avdd1, avdd2 40 40 75 52 52 97.5 ma ma ma operating ambient temperature 0 - 70 c parameter min typ max unit mixer gain range span line in, aux, cd, video, mic1 mic2, line out, alternate line out - - 46.5 94.5 - - db db step size all volume controls - 1.5 - db
cs4298 ds315pp2 7 modem characteristics (analog transmitter specifications: t ambient = 0 to 70 c, avdd = 5.0 v; sample frequency, fs = 48 khz; audio specifications for 20hz - 5 khz, actual digital filter may cutoff at 20 khz, 600 w differential load where applicable) notes: 6. this is the fcc specification for out-of-band energy at the telephone jack interface. 9 khz refers to the bin size of an fft performed over the entire range. the amount of noise plus tone power in each 8khz bin must be less than -55dbv. parameter min typical max units modem analog transmitter characteristics resolution 20 bits dynamic range (note 5) 100 db fs passband 20 5000 hz passband ripple 0.125 db1k total harmonic distortion 85 88 db fs full scale peak to peak output voltage (tx+ to tx-) tbd 5.6 tbd volts ac output impedance (tx+, tx-) (note 5) 0.1 w load impedance (per pin) (note 5) 250 w power supply rejection (1khz) (note 5) 60 db output current (per pin) 7.4 ma offset (relative) (note 5) 6 mv out of band specifications (t ambient = 25 c, avdd = 5 v; sample frequency, fs = 48 khz; measurement bandwidth 20 khz - 1mhz, r l =600 w , c l =33nf) (note 5) -40 db fs total out of band energy (20 khz - 1 mhz) (note 5) -30 dbv highest 9khz band (noise + tone) power (90 khz - 2 mhz) (note 5, 6) -55 dbv modem analog receiver characteristics resolution 18 bits dynamic range gain = 0 90 db fs passband 20 5000 hz passband ripple 0.125 db1k total harmonic distortion gain = 0 85 db fs total absolute gain accuracy -5 +5 % full scale peak to peak input voltage (rx+ to rx-, differential) gain = 0 2.8 volts input impedance (per pin) (note 5) 15 k w offset (relative) (note 5) 6 mv power supply rejection (note 5) 40 60 db
cs4298 8 ds315pp2 digital characteristics (avss = dvss = 0 v) parameter symbol min typ max unit dvdd = 3.3v low level input voltage v il 0.8 v high level input voltage v ih 2.15 v high level output voltage v oh 3.0 3.25 v low level output voltage v ol 0.03 .35 v input leakage current (ac-link inputs) -10 - 10 a output leakage current (tri-stated ac-link outputs) -10 - 10 a output buffer drive current bit_clk sdata_in, eapd s/pdif_out (note 5) 24 4 12.5 ma ma ma dvdd = 5.0 v low level input voltage v il 0.8 v high level input voltage v ih 3.25 v high level output voltage v oh 4.5 4.95 v low level output voltage v ol -0.03.35v input leakage current (ac-link inputs) -10 - 10 a output leakage current (tri-stated ac-link outputs) -10 - 10 a output buffer drive current bit_clk sdata_in, eapd s/pdif_out (note 5) 24 4 12.5 ma ma ma
cs4298 ds315pp2 9 serial port timing notes: 7. bit_clk measured with 47 w series termination and c l =50 pf. parameter symbol min typ max unit reset# timing vdd stable to reset# inactive t vdd2rst# 5. ms reset# active low pulse width t rst_low 1.0 - - m s reset# inactive to bit_clk start-up delay t rst2clk 25 120 - m s 1st sync active to codec ready set t sync2crd -62.4- m s clocks bit_clk frequency f clk - 12.288 - mhz bit_clk period t clk_period -81.4-ns bit_clk output jitter (depends on xtal_in source) - - 750 ps bit_clk high pulse width t clk_high 36 40.7 45 ns bit_clk low pulse width t clk_low 36 40.7 45 ns sync frequency f sync -48-khz sync period t sync_period -20.8- m s sync high pulse width t sync_high -1.3- m s sync low pulse width t sync_low -19.5- m s data setup and hold output propagation delay from rising edge of bit_clk t co - 6 12 ns input setup time from falling edge of bit_clk t isetup 10 - - ns input hold time from falling edge of bit_clk t ihold 0- -ns input signal rise time t irise 2-6ns input signal fall time t ifall 2-6ns output signal rise time (note 5, 7) t orise 246ns output signal fall time (note 5, 7) t ofall 246ns misc. timing parameters end of slot 2 to bit_clk, sdata_in low (pr4) t s2_pdown -.341.0 m s sync pulse width (pr4) warm reset t sync_pr4 1.1 - - m s sync inactive (pr4) to bit_clk start-up delay t sync2clk 162.8 350 - ns setup to trailing edge of reset# (test mode) (note 5) t setup2rst 15 - - ns rising edge of reset# to hi-z delay (note 5) t off - - 25 ns
cs4298 10 ds315pp2 bit_clk t rst_low t rst2clk t vdd2rst# vdd reset# figure 1. power up timing bit_clk t sync2crd codec_ready sync figure 2. clocks bit_clk sync t irise t ifall t orise t ifall t clk_high t clk_low t sync_high t sync_low t sync_period t clk_period figure 3. codec ready from startup or fault condition
cs4298 ds315pp2 11 bit_clk t isetup t ihold t co sdata_out, sync sdata_in figure 4. data setup and hold bit_clk t s2_pdown sdata_in sdata_out sync write to 0x20 data pr4 don't care slot 1 slot 2 sync_pr4 sync2clk t t figure 5. pr4 powerdown reset# sdata_out, sync t setup2rst sdata_in, t off bit_clk hi-z figure 6. test mode
cs4298 12 ds315pp2 2. general description 2.1 overview the cs4298 is a mixed-signal audio/modem codec (amc) based on the ac 97 1.0 specification, and the ac 97 2.0 extensions. it is designed to be paired with a digital controller, typically located on the pci bus. the amc controller is responsible for all communications between the cs4298 and the rest of the system. the cs4298 functions as an analog mixer, a stereo audio adc, a stereo audio dac, a dual modem afe, and a control and digital stream interface to the amc controller. the cs4298 contains three distinct functional sections: digital, analog audio, and analog modem. the digital section includes the ac-link registers, power management support, sync detection circuitry, and ac-link serial port interface logic. the analog audio section includes the analog in- put multiplexor (mux), stereo output mixer, stereo adcs, stereo dacs, and analog volume controls. the analog modem section includes dual differential adcs, dual differential dacs, analog loop- back logic, gpio control and status, and power down and wake-up logic. 2.2 modes of operation the cs4298 has four basic modes of operation. each mode allows varying functionality to meet a wide variety of software and hardware configurations. on power up or system reset, the device re- verts to the basic configuration mode 0. the audio adcs and dacs functionality remains fixed for each mode, but the modem adcs and dacs functionality changes per each configuration. from a system perspective, the device can provide standard audio with modem, two line interface, speakerphone, and four channel enhanced audio. 2.2.1 mode 0 this is the default operating mode for the cs4298. it supports the legacy ac 97 audio modes of op- eration including audio mixer, adcs, and dacs. the modem configuration supports a phone line for modem adc/dac1 and a handset interface for modem adc/dac2. 2.2.2 mode 1 this is the two phone line mode of operation. it is similar to mode 0 but the modem adc/dac2 is interfaced to a second phone line in place of the handset. 2.2.3 mode 2 this mode facilitates a full duplex speakerphone mode of operation. the adc of modem adc/dac2 is connected directly to the audio microphone in place of the handset or line 2 input. this dedicated microphone capture path allows the host controller to implement echo cancellation for hands free telephone operation. the modem dac2 is not used in this mode. 2.2.4 mode 3 mode 3 is the four channel expansion mode. the modem adc/dac pairs are utilized for enhanced audio functionality. the modem dacs are routed to the alternate line audio outputs providing 2 ad- ditional audio channels. the modem adc inputs may be connected to the output of the analog stereo input mixer for enhanced audio effect processing or enhanced digital docking in a note book appli- cation.
cs4298 ds315pp2 13 3. digital section 3.1 ac-link all communication with the codec is estab- lished with a 5-wire digital interface to the con- troller chip as shown in figure 7. all clocking for the serial communication is synchronous to the bit_clk signal. bit_clk is generated by the primary codec and is used to slave the con- troller and any secondary codecs, if applicable. an ac-link audio frame is a sequence of 256 se- rial bits organized into 13 groups referred to as slots. one frame consists of one 16-bit slot and twelve 20-bit slots. during each audio frame, data is passed bi-directionally between the co- dec and the controller. the input frame is driv- en from the codec on the sdata_in line. the output frame is driven from the controller sdata_out line. both input and output frames contain the same number of bits and are organized with the same slot configuration. the input and output frame have differing functions for each slot. the controller synchronizes the beginning of a frame with the sync signal. in figure 9 the position of each bit location within the frame is noted. the first bit position in a new serial data frame is f0 and the last bit position in the serial data frame is f255. when sync goes active (high) and is sampled active by the cs4298 (on the falling edge of bit_clk), both devices are synchronized to a new serial data frame. the data on the sdata_out pin at this clock edge is the final bit of the previous frames serial data. on the next rising edge of bit_clk, the first bit of slot 0 is driven by the controller on the sdata_out pin. the cs4298 latches in this data, as the first bit of the frame, on the next falling edge of the bit_clk clock signal. the controller is also responsible for issuing reset via the reset# signal. after being reset, the co- dec is responsible for flagging the controller that it is ready for operation after synchronizing its in- ternal functions. the ac-link signals may be referenced to either 5 volts or 3.3 volts. the cs4298 must use the same digital supply voltage as the controller chip. 3.2 control registers all read accesses to the codec are generated by requesting a register address (index number) in slot 1 of a sdata_out frame. the following sdata_in frame will contain the register content in its slot 2. the write operation is identical with the index in slot 1 and the write data in slot 2. the ac 97 frame definition section details the function of each input and output frame. individual register de- scriptions are found in the register interface section. ac-97 register interface the cs4298 implements the ac 97 registers in accordance with the ac 97 2.0 specification. see the register interface section for details on the cs4298s register set. codec sync bit_clk sdata_out sdata_in reset# digital ac'97 controller figure 7. ac-link connections
cs4298 14 ds315pp2 4. analog section please refer to figure 8, mixer diagram, for a high-level graphical representation of the cs4298 an- alog mixer structure. 4.1 audio output mixer there are two output mixers on the cs4298. the stereo output mixer sums together the analog out- puts from the input mixer, 3d enhancement, and the pcm dac output. the stereo output mix is sent to the line_out and alt_line_out output pins of the cs4298. when the device is set to mode 3 or mode 0-2 and the eam in ac mode control (index 5eh) is set, the modem dac outputs are routed to alt_line_out. 4.2 audio input mux the input multiplexor controls which analog input is sent to the adcs. the output of the input mux is converted to stereo 18-bit digital pcm data and sent to the amc controller chip in slots 3 and 4 of the ac-link sdata_in signal. 4.3 audio input mixer the input mixer is an analog mix of the analog input signals such as mic, line_in, etc., and the pcm audio dac output. the output of the mixer is routed to the adc input mux, audio output mixer, and may be routed to the modem adc input. 4.4 audio volume control the volume control registers of the ac 97 register interface control analog input level to the input mixer, the master volume level, and the alternate volume level. all analog volume controls imple- ment volume steps at nominally 1.5 db per step. the analog inputs allow a mixing range of +12 db of signal gain to -34.5 db of signal attenuation. the analog output volume controls allows from 0 db to -94.5 db of attenuation.
cs4298 ds315pp2 15 figure 8. mixer diagram vol mute mute mute mute vol vol vol +20db dac 3d stereo to mono mixer vol vol output buffer output buffer master volume alternate volume main d/a converters pcm_out pcm out path stereo input mixer stereo output mixer s s s mic1 aux cd line mode control sync sdata_out mute vol adc input mux vol mute adc main adc gain adc dac reset# alt_line_out line_out gpio bit_clk sdata_in ac-link interface 2 / 2 / 2 / 2 / 2 / 2 / 2 / 10 / 3 / mic2 mic select video mute vol 2 / mute vol adc dac vol vol vol vol vref (loopback) htx- (loopback) htx+ vref (loopback) mtx- (loopback) mtx+ mrx+ mrx- hrx+ hrx- hrx- hrx+ mrx+ mrx- class ab dif out - + + - class ab dif out - + + - mtx+ mtx- htx+ htx-
cs4298 16 ds315pp2 5. ac 97 5.1 ac 97 frame definition the ac link is a bi-directional serial port with thirteen time-division multiplexed slots in each di- rection. the first slot is 16 bits long and termed the tag slot. bits in the tag slot determine if the codec is ready and indicate which, if any, other slots contain valid data. slots 1 through 11 are 20-bits long and can contain audio data. slot 12 contains data to be written and read from gpio. the serial data line is defined from the controllers perspective, not from the audio codecs perspective. 5.2 ac-link serial data output frame in the serial data output frame, data is passed on the sdata_out pin to the cs4298 from the controller. figure 9 illustrates the serial port timing. 20.8 m s (48 khz) tag phase data phase 12.288 mhz 81.4 ns sync bit_clk sdata_out sdata_in f0 f1 f2 f16 f15 f14 f13 f12 f35 f56 f76 0 f255 valid frame slot 1 valid 00 scra1 scra0 r/w 0 wd15 f36 f57 lp19 lp18 rp19 lc17 lc16 rc17 rd15 0 0 0 0 0 bit frame position: f0 f1 f2 f16 f15 f14 f13 f12 f35 f56 f76 f255 f36 f57 f255 f255 x x 0 0 f97 f97 x slot 0 slot 1 slot 2 slot 3 slot 4 slots 5-12 slot 2 valid slot 1 valid slot 2 valid codec ready 0 bit frame position: figure 9. ac-link input and output framing
cs4298 ds315pp2 17 5.3 ac-link audiooutput frame 5.3.1 serial data output slot tags (slot 0) valid frame determines if any of the following slots contain either valid playback data for the codecs dacs, data for read/write operation, or gpio data. when set, at least one of the other ac-link slots contain valid data. if this bit is clear, the remainder of the frame is ignored. slot [1:2] validindicates valid slot data when accessing the register set of the primary codec (scra[1:0] = 00). for a read operation, slot 1 valid is set when register address (slot 1) contains valid data. for a write op- eration, slot 1 valid and slot 2 valid are set indicating register address (slot 1) and register write data (slot 2) contain valid data. the register address and write data must be valid within the same frame. scra[1:0] must be cleared when accessing the primary codec. the physical address of a codec is determined by the id[1:0]# input pins which are reflected in the extended audio id (index 28h) register and the extended modem id (index 3ch) register. slot [3:11] valid if a slot valid bit is set, the named slot contains valid audio data. if the bit is clear, the slot will be ignored. the definition of each slot is determined by the basic operating mode selected for the cs4298. for more information, see the ac mode control (index 5eh) register. slot 12 validif slot 12 valid is set, slot 12 contains valid write data for the gpio pins. scra[1:0] secondary codec register access. unlike the primary codec, scra[1:0] indicate valid slot data when accessing the register set of a secondary codec. the value set in scra[1:0] (01,10,11) determines which of the three possible secondary codecs is accessed. for a read operation, the scra[1:0] bits are set when register address (slot 1) contains valid data. for a write operation, scra[1:0] bits are set when register address (slot 1) and register write data (slot 2) contain valid data. the write oper- ation requires the register address and the write data to be valid within the same frame. scra[1:0] must be cleared when accessing the primary codec. they must also be cleared during the idle period where no register read or write is pending. the physical address of a codec is determined by the id[1:0]# input pins which are reflected in the extended audio id (index 28h) register and the extended modem id (in- dex 3ch) register. the scra[1:0] bits are listed as the id[1:0] bits in slot 0 in the ac 97 specification. 5.3.2 register address (slot 1) r/w # read/write#. determines if a read (r/w# = 1) or write (r/w# = 0) operation is requested. for a read operation, the following input frame will return the register index in the read-back address port (slot 1) and the contents of the register in the read-back data port (slot 2). a write operation does not return any valid data in the following frame. if the r/w# bit = 0, data must be valid in both the register address (slot 1) and the register write data (slot 2) during a frame when slot [1:2] valid or scra[1:0] are set. ri[6:0] register index/address. registers can only be accessed on word boundaries; ri0 must be set to 0. ri[6:0] must contain valid data during a frame when the slot 1 valid or scra[1:0] are set. bit 1514131211109876543210 valid frame slot 1 valid slot 2 valid slot 3 valid slot 4 valid slot 5 valid slot 6 valid slot 7 valid slot 8 valid slot 9 valid slot 10 valid slot 11 valid slot 12 valid scra 1 scra 0 bit 191817161514131211109876543210 r/w# ri6 ri5 ri4 ri3 ri2 ri1 ri0
cs4298 18 ds315pp2 5.3.3 register write data (slot 2) wd[15:0] codec register data for write operations. for read operations, this data is ignored. if r/w# = 0, data must be valid in both the register address (slot 1) and the register write data (slot 2) during a frame when the slot [1:2] valid = 11 or either scra[1:0] bit is set. splitting the register address and the write data across multiple frames is not permitted. 5.3.4 playback data (slots 3-11) pd[19:0] 20-bit pcm playback (2s compliment) data for the left and right dacs, s/pdif transmitter, or gpio pins. any pcm data from the controller less than 20 bits should be left justified in the slot and zero- padded. table 9 on page 35 lists the definition of each respective slot. the mapping of a given slot is determined by the md[1:0] bits found in the ac mode control (index 5eh) register . 5.3.5 gpio data (slot12) gp[9:0] gpio output date. output data is transferred to the gpio pins every frame in slot 12. 5.4 ac-link audio input frame in the serial data input frame, data is passed on the sdata_in pin from the cs4298 to the ac 97 controller. the data format for the input frame is very similar to the output frame. figure 9 illustrates the serial port timing. 5.4.1 serial data input slot tag bits (slot 0) codec readyindicates the readiness of the cs4298 s ac-link and control and status registers. immediately after a cold reset this bit will be clear. once the cs4298s clocks and voltages are stable, this bit will be set. until the codec ready bit is set, no ac-link transactions should be attempted by the controller. the codec ready bit does not indicate readiness of the dacs, adcs, vref, or any other analog function. those must be checked in the power down control/status (index 26h), extd audio ctrl/stat (index 2ah) , and extd modem ctrl/stat (index 3eh) registers by the controller before any access is made to the mixer registers. any accesses to the codec while codec ready is clear is ignored. slot 1 valid tag indicates slot 1 contains a valid read back address. slot 2 valid tag indicates slot 2 contains valid register read data. slot [3:11] valid tag indicates slot [3:11] contains valid capture data from the codecs adc. slot 12 valid tag indicates slot 12 contains valid read data of the gpio pin status register (index 54h). bit 1918 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3210 wd15 wd14 wd13 wd12 wd11 wd10 wd9 wd8 wd7 wd6 wd5 wd4 wd3 wd2 wd1 wd0 bit 191817161514131211109876543210 pd19 pd18 pd17 pd16 pd15 pd14 pd13 pd12 pd11 pd10 pd9 pd8 pd7 pd6 pd5 pd4 pd3 pd2 pd1 pd0 bit 191817161514131211109876543210 gp9 gp8 gp7 gp6 gp5 gp4 gp3 gp2 gp1 gp0 bit 1514131211109876543210 codec ready slot 1 valid slot 2 valid slot 3 valid slot 4 valid slot 5 valid slot 6 valid slot 7 valid slot 8 valid slot 9 valid slot 10 valid slot 11 valid slot 12 valid
cs4298 ds315pp2 19 5.4.2 read-back address port (slot 1) ri[6:0] register index. the read-back address port echoes the ac 97 register address when a register read has been requested in the previous frame. the codec will only echo the register index for a read access. write accesses will not return valid data in slot 1. 5.4.3 read-back data port (slot 2) rd[15:0] 16-bit register value. the read-back data port contains the register data requested by the controller from the previous read request. all read requests will return the read address in the read-back address port (slot 1) and the register data in the read-back data port (slot 2) on the following serial data frame. 5.4.4 pcm capture data (slot 3-11) cd[17:0] 18-bit pcm (2s compliment) data. the mapping of a given slot to an adc is determined by the state of the md[1:0] bits found in the ac mode control (index 5eh) register. 5.4.5 gpio pin status (slot 12) gi[9:0] status of the gpio[9:0] pin. irq set when the gpio generates a wake up or interrupt cycle. see gpio pin wake up mask (index 52h) register. the capture data in slot [3:12] will only be valid when the respective slot valid bit is set in slot 0. bit 1918171615141312111098765 4 3210 ri6 ri5 ri4 ri3 ri2 ri1 ri0 bit 191817161514131211109876543210 rd15 rd14 rd13 rd12 rd11 rd10 rd9 rd8 rd7 rd6 rd5 rd4 rd3 rd2 rd1 rd0 bit 191817161514131211109876543210 cd17 cd16 cd15 cd14 cd13 cd12 cd11 cd10 cd9 cd8 cd7 cd6 cd5 cd4 cd3 cd2 cd1 cd0 bit 191817161514131211109876543210 gi9 gi8 gi7 gi6 gi5 gi4 gi3 gi2 gi1 gi0 irq
cs4298 20 ds315pp2 5.5 ac 97 reset modes three methods of resetting the cs4298 , as defined in the ac 97 specification, are supported: cold ac 97 reset , warm ac 97 reset , and ac 97 register reset . a cold ac 97 reset is required to restart the ac-link when bit pr5 is set in the power down control/status (index 26h) register. 5.5.1 cold ac 97 reset a cold reset is performed by asserting reset# in accordance with the minimum timing specifica- tions in the serial port timing section. once de-asserted, all of the codecs registers will be reset to their default power-on states and the bit_clk clock and sdata_in signals will be reactivated. the timing of power-up/reset events is discussed in detail in the power management section. 5.5.2 warm ac 97 reset the cs4298 may also be reactivated when the ac-link is powered down (refer to the pr4 bit de- scription in the power management section) by a warm reset. a warm reset allows the ac-link to be reactivated without losing information in the codecs registers. warm reset is initiated when the sync signal is driven high for at least 1 s and then driven low in the absence of the bit_clk clock signal. the bit_clk clock will not restart until at least 2 normal bit_clk clock periods ( 162.8 ns) after the sync signal is de-asserted. 5.5.3 ac 97 register reset the third reset mode provides a register reset to the cs4298. this is available only when the cs4298 s ac-link is active and the codec ready bit is set. the audio and modem subsections may be reset independently. any write to reset (index 00h) register will reset the audio subsection while any write to extd modem ctrl/stat (index 3eh) register will reset the modem subsection. see the respective register descriptions for additional information. 5.6 ac-link protocol violation - loss of sync the cs4298 is designed to handle sync protocol violations. the following are situations where the sync protocol has been violated: ? the sync signal is not sampled high for exactly 16 bit_clk clock cycles at the start of an audio frame. ? the sync signal is not sampled high on the 256th bit_clk clock period after the previous sync assertion. ? the sync signal goes active high before the 256th bit_clk clock period after the previous sync assertion. upon loss of synchronization with the controller, the codec will mute all analog outputs and clear the codec ready bit in the serial data input frame until two valid frames are detected. during this detection period, the codec will ignore all register reads and writes and will discontinue the trans- mission of pcm capture data.
cs4298 ds315pp2 21 6. register interface certain register locations change definition based on the basic operating mode (mode 0-3) selected by the md[1:0] bits found in the ac mode control (index 5eh) register. the reset default is mode 0. reg num name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 00h reset mode 0 se4 se3 se2 se1 0 id8 id7 id4 0 0 0 0 1990h 00h reset mode 1 se4 se3 se2 se1 0 id8 id7 id4 0 0 0 0 1990h 00h reset mode 2 se4 se3 se2 se1 0 id8 id7 id4 0 0 0 id0 1991h 00h reset mode 3 se4 se3 se2 se1 0 id8 id7 0 0 0 0 0 1980h 02h master volume mute ml5 ml4 ml3 ml2 ml1 ml0 mr5 mr4 mr3 mr2 mr1 mr0 8000h 04h alternate line out volume mute ml5 ml4 ml3 ml2 ml1 ml0 mr5 mr4 mr3 mr2 mr1 mr0 8000h 06h master volume mono mute mm4 mm3 mm2 mm1 mm0 8000h 0eh mic volume mute 20db gn4 gn3 gn2 gn1 gn0 8008h 10h line in volume mute gl4 gl3 gl2 gl1 gl0 gr4 gr3 gr2 gr1 gr0 8808h 12h cd volume mute gl4 gl3 gl2 gl1 gl0 gr4 gr3 gr2 gr1 gr0 8808h 14h video volume mute gl4 gl3 gl2 gl1 gl0 gr4 gr3 gr2 gr1 gr0 8808h 16h aux volume mute gl4 gl3 gl2 gl1 gl0 gr4 gr3 gr2 gr1 gr0 8808h 18h pcm out vol mute gl4 gl3 gl2 gl1 gl0 gr4 gr3 gr2 gr1 gr0 8808h 1ah record select sl2 sl1 sl0 sr2 sr1 sr0 0000h 1ch record gain mute gl3 gl2 gl1 gl0 gr3 gr2 gr1 gr0 8000h 1e record gain microphone mute gr3 gr2 gr1 gr0 8000h 20h general purpose pop 3d ms lpbk 0000h 22h 3d control s3 s2 s1 s0 0000h 26h powerdown ctrl/stat pr6 pr5 pr4 pr3 pr2 pr1 pr0 ref anl dac adc 000fh 28h extd audio id mode 0 id1 id0 vra x000h 28h extd audio id mode 1 id1 id0 vra x000h 28h extd audio id mode 2 id1 id0 vra x000h 28h extd audio id mode 3 id1 id0 ldac sdac cdac vra x1c0h 2ah extd audio ctrl mode 0 0000h 2ah extd audio ctrl mode 1 0000h 2ah extd audio ctrl mode 2 prl madc 0200h 2ah extd audio ctrl mode 3 prk prj pri ldac sdac cdac 01c0h 2ch pcm front dac rate sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 bb80h 2eh pcm surround dac rate sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 bb80h 30h pcm lfe dac rate sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 bb80h 32h pcm left/right adc rate sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 bb80h 34h mic adc rate sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 bb80h 36h center lfe volume mute lfe5 lfe4 lfe3 lfe2 lfe1 lfe0 mute cnt5 cnt4 cnt3 cnt2 cnt1 cnt0 8080h 38h lr surround volume mute lsr5 lsr4 lsr3 lsr2 lsr1 lsr0 mute rsr5 rsr4 rsr3 rsr2 rsr1 rsr0 8080h 3ch extd modem id mode 0 id1 id0 hset lin1 x005h 3ch extd modem id mode 1 id1 id0 lin2 x003h 3ch extd modem id mode 2 id1 id0 lin1 x001h 3c extd modem id mode 3 id1 id0 x000h 3e extd modem stat/ctrl mode 0 prh prg prd prc prb pra hdac hadc dac1 adc1 mref gpio 00cfh 3e extd modem stat/ctr mode1 prf pre prd prc prb pra dac2 adc2 dac1 adc1 mref gpio 003fh 3e extd modem stat/ctrl mode 2 prh prd prc prb pra hdac dac1 adc1 mref gpio 008fh 3e extd modem stat/ctrl mode 3 prg prc prb pra hadc adc1 mref gpio 0047h 40 line 1 dac/adc rate sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 bb80h 42 line 2 dac/adc rate sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 bb80h 44 handset dac/adc rate sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 bb80h 46 line 1 dac/adc level mute dac3 dac2 dac1 dac0 mute adc3 adc2 8080h table 1. mixer registers
cs4298 22 ds315pp2 48 line 2 dac/acd level mute dac3 dac2 dac1 dac0 mute adc3 adc2 8080h 4a handset dac/acd level mute dac3 dac2 dac1 dac0 mute adc3 adc2 8080h 4c gpio pin configuration gc9 gc8 gc7 gc6 gc5 gc4 gc3 gc2 gc1 gc0 03ffh 4e gpio pin polarity/type gp9 gp8 gp7 gp6 gp5 gp4 gp3 gp2 gp1 gp0 ffffh 50 gpio pin sticky gs9 gs8 gs7 gs6 gs5 gs4 gs3 gs2 gs1 gs0 0000h 52 gpio pin walk-up mask gw9 gw8 gw7 gw6 gw5 gw4 gw3 gw2 gw1 gw0 0000h 54 gpio pin status gi9 gi8 gi7 gi6 gi5 gi4 gi3 gi2 gi1 gi0 xxxxh 56 misc. modem afe stat mode 0 hsb2 hsb1 hsb0 l1b2 l1b1 l1b0 0000h 56 misc. modem afe stat mode 1 l2b2 l2b1 l2b0 l1b2 l1b1 l1b0 0000h 56 misc. modem afe stat mode 2 l1b2 l1b1 l1b0 0000h 56 misc. modem afe stat mode 3 0000h cirrus defined registers : 5a crystal revision / fab 1 1 1 0 0302h 5e slot map register edm eam ddm md1 md0 0000h 68 s/pdif enable spen v fs l cc6 cc5 cc4 cc3 cc2 cc1 cc0 pre copy #audio pro 0000h 7ch vendor id1(cr) f7 f6 f5 f4 f3 f4 f1 f0 s7 s6 s5 s4 s3 s2 s1 s0 4352h 7eh vendor id2(y-) t7 t6 t5 t4 t3 t2 t1 t0 pid2 pid1 pid0 rid2 rid1 rid0 5923h reg num name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default table 1. mixer registers (cont.)
cs4298 ds315pp2 23 6.1 register descriptions 6.1.1 reset (index 00h) se[4:0] 3d stereo enhancement technique. 00110 - crystal 3d stereo enhancement. id8 set 18-bit adc resolution. id7 set 20-bit dac resolution. id4 set headphone out support. (alternate line output) id1 set dedicated mic pcm. read-only datamode 0,1 1990h mode 2 1991h mode 3 1980h any write to this register causes the audio control registers (index 02h - 38h) and the crystal specific registers (index 5eh - 68h) to be reset forcing them to their default state. the mode control bits md[1:0] of the ac mode control (index 5eh) register are also cleared forcing the codec to mode 0 configuration. reads return configuration information about the audio codec 6.1.2 master volume (index 02h) mute master mute for the line_out_l and the line_out_r output signals. ml[5:0] master volume control for line_out_l pin. least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to -94.5 db. mr[5:0] master volume control for line_out_r pin. least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to -94.5 db. default 8000h, corresponding to 0 db attenuation and mute on. in mode 3 the line_out volume is controlled by the left right surround (index 38h) register in place of master volume. mode d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 0 se4se3se2se1se00id8id700id40000 1 se4se3se2se1se00id8id700id40000 2 se4 se3 se2 se1 se0 0 id8 id7 0 0 id4 0 0 0 id0 3 se4se3se2se1se00id8id70000000 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute ml5 ml4 ml3 ml2 ml1 ml0 mr5 mr4 mr3 mr2 mr1 mr0
cs4298 24 ds315pp2 6.1.3 alternate volume (index 04h) mute master mute for the alt_line_out_l and the alt_line_out_r output signals. ml[5:0] master volume control for alt_line_out_l pin. least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to -94.5 db. mr[5:0] master volume control for alt_line_out_r pin. least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to -94.5 db. default 8000h, corresponding to 0 db attenuation and mute on. in mode 3 the alt_line_out volume is controlled by the lfe/cnt volume (index 36h) register in place of alternate volume.. 6.1.4 microphone volume (index 0eh) mute when set, mutes mic1/mic2 signal. gn[4:0] mic1/mic2 volume control. least significant bit represents 1.5 db with 01000 = 0 db. the total range is 12 db to -34.5 db. 20db enables 20 db microphone gain block. default 8008h, 0 db attenuation and mute set. this register controls the gain level of the microphone input source to the input mixer. it also con- trols the +20 db gain block which connects to the input volume control and to the input record mux. the selection of mic1 or mic2 input pins is controlled by the ms bit in the general purpose (index 20h) register. the gain mapping for this register is shown in table 3. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute ml5 ml4 ml3 ml2 ml1 ml0 mr5 mr4 mr3 mr2 mr1 mr0 ml[5:0]/mr[5:0]/mm[5:0] write ml[5:0]/mr[5:0]/mm[5:0 read gain level 000000 000000 0 db 000001 000001 -1.5 db ... 111111 111111 -94.5 db table 2. alternate line-out and master mono attenuation d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute 20db gn4 gn3 gn2 gn1 gn0 gn4 - gn0 gain level mic gain with 20db = 1 00000 +12.0 db +32.0 db 00001 +10.5 db 30.5 db ... 00111 +1.5 db 21.5 db 01000 0.0 db 20.0 db 01001 -1.5 db 18.5 db ... 11111 -34.5 db -14.5 db table 3. analog mixer input gain values
cs4298 ds315pp2 25 6.1.5 stereo analog mixer input gain (indexs 10h - 18h) mute when set mutes the respective input. setting this bit mutes both right and left inputs. gl[4:0] left volume control. least significant bit represents 1.5 db with 01000 = 0 db. the total range is 12 db to -34.5 db. see table 3. gr[4:0] right volume control. least significant bit represents 1.5 db with 01000 = 0 db. the total range is 12 db to -34.5 db. see table 3. default 8808h, 0 db gain with mute enabled. these registers control the gain levels of the analog input sources to the input mixer. the analog in- puts associated with registers 10h-18h are found in table 4. 6.1.6 input mux select (index 1ah) sl[2:0] left channel adc input source select. sr[2:0] right channel adc input source select. default 0000h, mic inputs selected for both channels. when capturing pcm data, this register controls the input mux for the adcs. table 5 below lists the possible values for each input. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute gl4 gl3 gl2 gl1 gl0 gr4 gr3 gr2 gr1 gr0 register index function 10h line in volume 12h cd volume 14h video volume 16h aux volume 18h pcm out volume table 4. stereo volume register index d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sl2 sl1 sl0 sr2 sr1 sr0 sx2 - sx0 record source 0mic 1 cd input 2 video input 3 aux input 4 line input 5 stereo mix 6 mono mix 7 not available table 5. input mux selection
cs4298 26 ds315pp2 6.1.7 record gain (index 1ch) mute when set, mutes the input to the adcs. gl[3:0] left adc gain. least significant bit represents +1.5 db with 0000 = 0 db. the total range is 0 db to +22.5 db. gr[3:0] right adc gain. least significant bit represents +1.5 db with 0000 = 0 db. the total range is 0 db to +22.5 db. default 8000h, 0 db gain with mute on. 6.1.8 record gain microphone (index 1eh) mute when set, mutes the input to madc2. gm[3:0] dedicated microphone gain. least significant bit represents +1.5 db with 0000 = 0 db. the total range is 0 db to +22.5 db. default 8000h, 0 db gain with mute on. this register is only available in mode 2. 6.1.9 general purpose (index 20h) pop pcm output path. by default, the pcm output is mixed prior to the 3d enhancement. when set, the pcm output is mixed after the 3d enhancement. 3d 3d enable. if set, enables the crystalclear 3d stereo enhancement. ms microphone select. determines which of the two mic inputs are passed to the mixer. when set, mic2 input is selected; when clear mic1 is selected. lpbk loopback. if set, enables analog adc/dac loopback mode. default 0000h. 6.1.10 3d control (index 22h) s[3:0] spacial enhancement depth. spacial enhancement is enabled by the 3d bit in the general purpose (index 20h) register. 0000 - no spacial enhancement. 1111 - full spacial enhancement. default 0000h, no spacial enhancement added. the spacial enhancements is not available on the alt_line output when the codec is in mode 3 or eam is set. see the ac mode control (index 5eh) register for more detail. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute gl3 gl2 gl1 gl0 gr3 gr2 gr1 gr0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute gm3 gm2 gm1 gm0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 pop 3d ms lpbk d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 s3 s2 s1 s0
cs4298 ds315pp2 27 6.1.11 power down control/status (index 26h) pr6 when set, the alternate line-out buffer is powered down. pr5 when set, the internal master clock is disabled. the only way to recover from setting this bit is through a cold ac 97 reset (driving the reset# signal active). pr4 when set, the ac link is powered down. the ac link can be restarted through a warm ac 97 reset using the sync signal, or a cold ac 97 reset using the reset# signal (the primary codec only). pr3 when set, the analog mixer and voltage reference are powered down. when clearing this bit, the anl, adc, and dac bits should be checked before writing any mixer registers. because the reference volt- age is shared with the modem subsection, it will not power down unless the prb bit is also set in the extd modem stat/ctrl (index 3eh) register. pr2 when set, the analog mixer is powered down (the voltage reference is still active). when clearing this bit, the anl bit should be checked before writing any mixer registers. pr1 when set, the dacs are powered down. when clearing this bit, the dac bit should be checked before sending any data to the dacs. pr0 when set, the adcs and the adc input muxes are powered down. when clearing this bit, no valid data will be sent down the ac link until the adc bit goes high. ref voltage reference ready status. when set, indicates the voltage reference is at a nominal level. anl analog ready status. when set, the analog output mixer, input multiplexer, and volume controls are ready. when clear, no volume control registers should be written. dac dac ready status. when set, the dacs are ready to receive data across the ac link. when clear, the dacs will not accept any valid data. adc adc ready status. when set, the adcs are ready to send data across the ac link. when clear, no data will be sent to the controller. default 0000h, all blocks are powered on. the lower four bits will eventually change as the codec finishes an initialization and calibration sequence. the pr[6:0] are power-down control for different sections of the codec. the ref, anl, dac, and adc bits are status bits which, when set, indicate that a particular section of the codec is ready. after the controller receives the codec ready bit in slot 0, these status bits must be checked before writing to any mixer registers. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 pr6 pr5 pr4 pr3 pr2 pr1 pr0 ref anl dac adc
cs4298 28 ds315pp2 6.1.12 extended audio id (index 28h) id[1:0] codec configuration id. primary is 00; secondary is 01,10,or 11. this is a reflection of the id[1:0]# con- figuration pins. the state of the id# pins are determined at power-up and are the inverse of the id bits in this register. ldac pcm lfa dac. indicates a lfe dac is supported. sdac pcm surround dac. indicates a surround dac is supported. cdac pcm center dac. indicates a center dac is supported. vra variable rate audio. this bit is clear indicating variable sample rates are not supported. read-only data mode 0,1,2 x000h. where x is determined by the state of id[1:0] input pins. mode 3 x1c0h. 6.1.13 extended audio status / control (index 2ah) cdac pcm center dac ready. when set, the center dac is ready. ldac pcm lfe dac ready. when set, the lfe dac is ready. sdac pcm surround dac ready. when set, the surround dacs are ready. madc mic adc ready. when set, the dedicated microphone adc is ready. pri pcm center dac disable. when set, the center dac is disabled. prj pcm surround dac disable. when set, the surround dac is disabled. prk pcm lfe dac disable. when set, the lfe dac is disabled. prl dedicated microphone adc disable. when set, the mic adc is disabled. default mode 0,1 0000h mode 2 0200h mode 3 01c0h cdac, ldac, sdac, and madc are read only bits. mode d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 0id1id0 vra 1id1id0 vra 2id1id0 vra 3 id1 id0 ldac sdac cdac vra mode d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 0 000000000 1 000000000 2 prl0000mdac000 3 0 prk prj pri 0 0 ldac sdac cdac
cs4298 ds315pp2 29 6.1.14 pcm front dac rate (index 2ch) sr[15:0] front dac sample rate. default read-only value bb80h, indicating 48 khz sample rate. 6.1.15 pcm surround dac rate (index 2eh) sr[15:0] surround dac sample rate. default read-only value bb80h, indicating 48 khz sample rate. 6.1.16 pcm lfe dac rate (index 30h) sr[15:0] lfe dac sample rate. default read-only value bb80h, indicating 48 khz sample rate. 6.1.17 pcm lr adc rate (index 32h) sr[15:0] lr adc sample rate. default read-only value bb80h, indicating 48 khz sample rate. 6.1.18 pcm mic adc rate (index 34h) sr[15:0] mic adc sample rate. default read-only value bb80h, indicating 48 khz sample rate. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0
cs4298 30 ds315pp2 6.1.19 center lfe volume (index 36h) lfe[5:0] lfe volume. least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to - 94.5 db. cnt[5:0] center volume.least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to - 94.5 db. default 8080h, indicating mute with 0 db attenuation. 6.1.20 lr surround volume (index 38h) lsr[5:0] left surround volume. least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to -94.5 db. rsr[5:0] right surround volume. least significant bit represents -1.5 db with 00000 = 0 db. the total range is 0 db to -94.5 db. default 8080h, indicating 0 db attenuation. 6.1.21 extended modem id (index 3ch) hset handset. indicates handset adc/dac is supported. lin1 line 1. when set, indicates 1st line is supported. lin2 line 2. when set, indicates 2nd line is supported. id[1:0] codec configuration id. primary is 00; secondary is 01,10,or 11. this is a reflection of the configuration pins. the state of the id# pins are determined at power-up and are the inverse of the id bits in this reg- ister. default mode 0 x005h mode 1 x003h mode 2 x001h mode 3 x000h where x is determined by the state of id[1:0] input pins. the extended modem id is a read/write register that identifies the codecs modem capabilities. this register reports the features available based on the basic operating mode determined by md[1:0] of ac mode (index 5eh) register. writing any value to this location issues a reset to the modem regis- ters (index 3ch-56h) . audio registers are not reset by a write to this location. note: all gpio registers (index 46h-54h) are reset by any write to this location. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute lfe5 lfe4 lfe3 lfe2 lfe1 lfe0 mute cnt5 cnt4 cnt3 cnt2 cnt1 cnt0 lfe[5:0]/lsr[5:0] cnt[5:0]/rsr[5:0] write lfe[5:0]/lsr[5:0] cnt[5:0]/rsr[5:0] read gain level 000000 000000 0 db 000001 000001 -1.5 db ... 111111 111111 -94.5 db table 6. 6 channel volume attenuation d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute lsr5 lsr4 lsr3 lsr2 lsr1 lsr0 mute rsr5 rsr4 rsr3 rsr2 rsr1 rsr0 mode d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 0 id1 id0 hset lin1 1 id1 id0 lin2 2 id1 id0 lin1 3 id1 id0
cs4298 ds315pp2 31 6.1.22 extended modem id (index 3eh) prh handset dac. when set powers down the handset dac. prg handset adc. when set powers down the handset adc. prf line 2 dac. when set powers down the line 2 dac. pre line 2 adc. when set powers down the line 2 adc. prd line 1 dac. when set powers down the line 1 dac. prc line 1 adc. when set powers down the line 1 adc. prb modem reference. when set powers down the modem reference. the modem and audio share a com- mon reference. the reference will not power down unless pr3 of the power down ctrl/stat (index 26h) register is also set. pra gpio. when set the gpio pins are tri-state and powered down. slot 12 is marked invalid if the ac-link is active. hdac handset dac. when set indicates the handset dac is ready. hadc handset adc. when set indicates the handset adc is ready. dac2 line 2 dac. when set indicates the line 2 dac is ready. adc2 line 2 adc. when set indicates the line 2 adc is ready. dac1 line 1 dac. when set indicates the line 1 dac is ready. adc1 line 1 adc. when set indicates the line 1 adc is ready. mref modem reference. when set indicates the modem reference is ready. gpio gpio. when set the gpio pins are ready. slot 12 is marked valid. default mode 0 x0cfh mode 1 x03fh mode 2 x08fh mode 3 x047h where x is determined by the state of id[1:0] input pins. pr[a:h] are read/write bits that provide power management of the modem afe subsection. all re- maining bits are read/only status indicating modem subsystems are ready for operation. after reset or issuing a change to the md[1:0] of ac mode (index 5eh) register, the respective status bits for that mode will be clear until the subsystem becomes ready. 6.1.23 line 1 dac/adc rate (index 40h) sr[15:0] line 1 dac/adc sample rate. default read-only value bb80h, indicating 48 khz sample rate. 6.1.24 line 2 dac/adc rate (index 42h) sr[15:0] line 2 dac/adc sample rate. default read-only value bb80h, indicating 48 khz sample rate. mode d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 0 prh prg prd prc prb pra hdac hadc dac1 adc1 mref gpio 1 prf pre prd prc prb pra dac2 adc2 dac1 adc1 mref gpio 2 prh prd prc prb pra hdac dac1 adc1 mref gpio 3 prg prc prb pra hadc adc1 mref gpio d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0
cs4298 32 ds315pp2 6.1.25 handset dac/adc rate (index 44h) sr[15:0] handset dac/adc sample rate. default read-only value bb80h, indicating 48 khz sample rate. 6.1.26 line 1 dac/adc level (index 46h) mute[d15] mute. mutes the input of line 1 dac. mute[d7] mute. mutes the output of line 1 adc. dac[3:0] line 1 dac attenuation. least significant bit represents 1.5 db with 00000 = 0 db. the total range is 0 db to -22.5 db. adc[3:2] line 1 adc gain. least significant bit represents 6 db with 00 = 0 db. the total range is 0 db to +18 db. default 8080h indicating mute with 0 db attenuation or gain. when eam of the ac mode control (index 5eh) is set, the line 1 dac attenuation is controlled by ml[4:0] of the alternate volume (index 04h) register. 6.1.27 line 2 dac/adc level (index 48h) mute[d15] mute. mutes the input of line 2 dac. mute[d7] mute. mutes the output of line 2 adc. dac[3:0] line 2 dac attenuation. least significant bit represents 1.5 db with 00000 = 0 db. the total range is 0 db to -22.5 db. adc[3:2] line 2 adc gain. least significant bit represents 6 db with 00 = 0 db. the total range is 0 db to +18 db. default 8080h indicating mute with 0 db attenuation or gain. when eam of the ac mode control (index 5eh) is set, the line 2 dac attenuation is controlled by mr[4:0] of the alternate volume (index 04h) register. 6.1.28 handset dac/adc level (index 4ah) mute[d15] mute. mutes the input of handset dac. mute[d7] mute. mutes the output of handset adc. dac[3:0] handset1 dac attenuation. least significant bit represents 1.5 db with 00000 = 0 db. the total range is 0 db to -22 db. adc[3:2] handset adc gain. least significant bit represents 6 db with 00 = 0 db. the total range is 0 db to +18 db. default 8080h indicating mute with 0 db attenuation or gain. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 sr15 sr14 sr13 sr12 sr11 sr10 sr9 sr8 sr7 sr6 sr5 sr4 sr3 sr2 sr1 sr0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute dac3 dac2 dac1 dac0 mute adc3 adc2 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute dac3 dac2 dac1 dac0 mute adc3 adc2 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 mute dac3 dac2 dac1 dac0 mute adc3 adc2
cs4298 ds315pp2 33 6.1.29 gpio pin configuration (index 4ch) gc[9:0] gpio pin configuration. when set defines the corresponding gpio pin as an input default 03ffh after a cold reset, power up, or modem register reset (see extended modem id (index 3ch) ) all gpio pins are configured as inputs. 6.1.30 gpio pin polarity/type configuration (index 4eh) gp[9:0] gpio pin configuration. the definition of gp[9:0] changes based on the pin defined as an input or an output by gc[9:0] of gpio pin configuration (index 4ch). default ffffh when the gpio pin is defined as an input, its status is reported in the gpio pin status (index 54h) register as well as slot 12. 6.1.31 gpio pin sticky (index 50h) gs[9:0] gpio pin sticky. if set, the gpio pin input is latched. default 0000h if a gpio is defined as sticky the input requires a transition of the gpio input pin to set the corre- sponding bit in slot 12 and the gpio pin status (index 54h) register. when sticky is set the corre- sponding bit in gpio pin polarity/type configuration (index 4ah) register determines which edge of the gpio pin will set gi[x]. if gp[x] is set, a low to high transition sets the gi[x] bit. a high to low transition sets gi[x] if gp[x] is clear. once set, writing a 0 to gi[x] will clear the sticky input. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 000000gc9gc8gc7gc6gc5gc4gc3gc2gc1gc0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 111111gp9gp8gp7gp6gp5gp4gp3gp2gp1gp0 gcx gpx function 0 0 output cmos drive 0 1 output open drain 1 0 input active low 1 1 input active high (default) table 7. gpio input/output configuration d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 gs9 gs8 gs7 gs6 gs5 gs4 gs3 gs2 gs1 gs0
cs4298 34 ds315pp2 6.1.32 gpio pin wakeup mask (index 4ch) gs[9:0] wake up mask. if set, allow the gpio input to generate ac-link wake up protocol. default 0000h the cs4298 has the ability to generate a wake up cycle by a transition of a gpio pin when the ac-link has been powered down. if a mask bit is set, a one being set in the corresponding gpio pin status (index 54h) will initiate a wake up interrupt. bit 0 of sdata_in slot 12 will be set indicating a gpio interrupt. gpio pins must be defined as input, sticky, and the mask set to allow a gpio interrupt. the gpio interrupt is cleared by writing a 0 to the respective status bit in gpio pin status (index 54h) register. 6.1.33 gpio pin status (index 54h) gi[9:0] gpio pin status. reflects the state of all gpio pins either input or output. if the gpio pin is defined as an output, the respective bit reflects the state of sdata_out slot 12. if the gpio pin is defined as an input, the register is reflected in sdata_in slot 12. gpio output pins cannot be accessed by slot 1,2 register access, only by sdata_out slot 12. 6.1.34 misc. modem afe status (index 56h) hsb[2:0] handset loopback. l2b[2:0] line 2 loopback. l1b[2:0] line 1 loopback. default 0000h. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 gw9 gw8 gw7 gw6 gw5 gw4 gw3 gw2 gw1 gw0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 gi9 gi8 gi7 gi6 gi5 gi4 gi3 gi2 gi1 gi0 mode d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 0 hsb2 hsb1 hsb0 l1b2 l1b1 l1b0 1 l2b2 l2b1 l2b0 l1b2 l1b1 l1b0 2 l1b2 l1b1 l1b0 3 loop back mode hsb[2:0], l2b[2:0], l1b[2:0] function 000 disabled 001 digital loop back 010 local analog loop back 011 dac to adc 1-bit data loop back 100 remote analog loop back 101 ac-link loop back 110-111 not used table 8. misc. modem configuration
cs4298 ds315pp2 35 6.1.35 ac mode control (index 5eh) ddm dac direct mode. this bit controls the source to the line and alternate line output drivers. when set, the left and right dac directly drive the line and alternate line outputs by bypassing the audio mixer. when clear, the audio mixer is the source for the line and alternate line outputs. eam extended audio mode. when set the output of mdac2 and mdac1 are mapped to the alt_line out- put. the mdac volumes are set by the alternate line volume (index 04h) register when in this mode. edm extended docking mode. when set the output of the analog input mixer is routed to the madc1 and madc2 inputs. this allows any analog input mix to be digitized and routed to a second ac 97 codec or allows the host controller to add effects processing to analog sources. md[1:0] mode. sets basic operating mode for the codec. this effects the mapping of the adcs and dacs to ac- link slot locations. see the mode of operation subsection for additional detail. table xxx below details the slot mapping. default 0000h 6.1.36 s/pdif control (index 68h) spen s/pdif enable. when set, slot 6 and slot 9 are mapped to the spdif_out pin. when in mode 3 and spen set, data is not passed to modem dac1 and modem dac2. v validity bit. when set, this bit notifies the s/pdif receiver that the subframe data is not suitable for con- version. l generation level. cc[6:0] category code. pre premphasis. if set, filter premphasis is 50/15 m s. if clear, premphasis is none. copy copyright. when clear, copyright is asserted. if clear, copyright is not asserted. #audio #audio valid. when clear, the data routed to the s/pdif transmitter contains valid pcm data. for trans- mitting all other compressed data formats, the #audio bit must be set. default 0000h. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 edm eam ddm md1 md0 mode definition audio dac1 audio dac2 audio adc1 audio adc2 modem dac1 modem dac2 modem adc1 modem adc2 gpio 0 basic left right left right line 1 handset line 1 handset 3434 5 11 5 1112 1 2 line left right left right line 1 line 2 line 1 line 2 3434 5 10 5 1012 2 speakerphone left right left right line 1 handset line 1 mic 3434 5 11 5 612 3 extended 4 channel surrnd left surrnd right left right center lfe line 1 handset 7834 6 9 5 1112 table 9. slot assignments d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 spen v 0 0 l cc6 cc5 cc4 cc3 cc2 cc1 cc0 pre copy #audio 0
cs4298 36 ds315pp2 6.1.37 vendor id1 (index 7ch) f[7:0] first character of vendor id. 43h - ascii c character. s[7:0] second character of vendor id. 52h - ascii r character. read-only data4352h. 6.1.38 vendor id2 (index 7eh) t[7:0] third character of vendor id. 59h - ascii y character. pid[3:0] part id. see table10 below. rid[2:0] revision. see table10 below. read-only data5923h. the two vendor id registers provide a means to determine the manufacturer of the ac 97 codec. the first three bytes of the id registers contain the ascii code for the first 3 letters of crystal (cry). the final byte of the vendor id2 register is divided into a part id field and a revision field.table 10 lists the part ids defined to date. d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 f7 f6 f5 f4 f3 f2 f1 f0 s7 s6 s5 s4 s3 s2 s1 s0 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 t7 t6 t5 t4 t3 t2 t1 t0 pid2 pid1 pid0 rid2 rid1 rid0 pid3-pid0 part name 000 cs4297 001 cs4297a 010 cs4294 rev c * 010 cs4298 011 cs4299 * d3 set table 10. reg. 7eh defined part ids
cs4298 ds315pp2 37 7. analog hardware description the analog hardware consist of a four line-level stereo inputs, two selectable mono microphone in- puts, two mono inputs, a mono output, and dual, independent stereo line outputs. this section de- scribes the analog hardware needed to interface with these pins. 7.1 line-level inputs the analog inputs consist of four stereo analog inputs and four mono inputs. as shown in figure 8, the input to the adcs comes from the input mux which selects one of the following: phone (mono), aux, video, cd, mic1 or mic2 (mono), line, stereo output mix, or the mono output mix (mono). unused analog inputs should be connected together and then connected through a capacitor to analog ground or tied to the vrefout line directly. the analog input mixer is designed to accommodate five stereo inputs and one mono input. these inputs are: a stereo line-level input (line), a mono microphone input (mic), a stereo cd-rom in- put (cd), a stereo auxiliary line-level input (aux), and the pcm output from the dacs. each of the stereo inputs has separate volume controls for each channel and one mute control for each left/right pair. the mono microphone input has one mute and one volume control. the inputs to the output mixer are: the input mixer output, the pc beep mono input, and the phone mono input. all analog inputs to the cs4298, including cd_gnd, should be capacitively coupled to the input pins. since many analog levels can be as large as 2 v rms , the circuit shown in figure 10 can be used to attenuate the analog input by 6 db (to 1 v rms) which is the maximum voltage allowed for all the stereo line-level inputs: line_in, aux_in, and video_in. the cd line-level inputs have an extra pin, cd_gnd, which provides a pseudo-differential input for both cd_l and cd_r. this pin takes the common-mode noise out of the cd inputs when connected to the ground coming from the cd analog source. connecting the cd pins as shown in figure 11 provides extra attenuation of common mode noise coming from the cdrom drive, thereby produc- ing a higher quality signal. one percent resistors are recommended since the better the resistors match, the better the common-mode attenuation of unwanted signals. if cd is not used, the inputs should be connected through ac capacitors to analog ground or connected to vrefout. 6.8 k w 6.8 k w 1.0 m f 1.0 m f r l 6.8 k w 6.8 k w figure 10. line inputs figure 11. differential cdrom in 6.8 k w 6.8 k w 1.0 m f 1.0 m f cd_l cd_r 6.8 k w 6.8 k w 3.4 k w cd_gnd 2.0 m f 3.4 k w (all resistors 1%)
cs4298 38 ds315pp2 7.2 microphone level inputs the microphone level inputs, mic1 and mic2, include a selectable -34.5 db to +12 db gain stage for interfacing to an external microphone. an additional 20 db gain block is also available. figure 12 illustrates a single-ended microphone input buffer circuit that will support lower gain mics. the cir- cuit in figure 12 supports dynamic mics and phantom-powered mics that use the right channel (ring) of the jack for power.. 7.3 line level outputs the analog output section provides a stereo line-level output and an alternate stereo line-level output. line_out_l, line_out_r, alt_line_out_l, and alt_line_out_r outputs should be capacitively coupled to external circuitry. the mono output, mono_out, can be used as either a sum of the left and right output channels attenuated by 6 db to prevent clipping at full scale or the selected mic_in signal. the mono out channel can be used to drive the pc internal mono speaker using an appropriate drive circuit. this approach allows the traditional pc sounds to be integrated with the rest of the audio system. the mute control is independent of the line outputs allowing the mono channel to mute the speaker without muting the line outputs. each of the 5 analog outputs, if used in the design, require 680 pf or larger npo dielectric capacitors between the corresponding pin and agnd. each analog output is dc biased up to the vrefout volt- age signal reference which is nominally 2.2 v. this requires that the output either be ac coupled to external circuitry (ac load must be greater than 10 k w ) or dc coupled to a buffer op-amp biased at the vrefout voltage (see figure 13 for the recommended headphone op-amp circuit). agnd 4 8 +5 va 100 k w 1 2 5 3 4 2.7 k w cgnd 220 pf 220 pf 68 k w agnd 0.068 f x7r agnd + - agnd 4 1 8 +5 va u1a mc33078d 3 2 47 k w 10 f agnd 2 1 + 47 k w agnd +5 va 47 k w + - 6.8 k w 10 f agnd 2 1 + 6 5 220 pf 47 k w u1b mc33078d 1 f x7r 7 mic1 figure 12. pc 99 microphone pre-amplifier
cs4298 ds315pp2 39 7.4 consumer iec-958 digital interface (s/pdif) the cs4298 supports the industry standard iec-958 consumer digital interface. sometimes this stan- dard is referred to as s/pdif, which refers to an older version of this standard. this output provides an interface, external to the pc, for storing digital cd-rom) or playing digital audio from digital speakers. figure 14 illustrates the circuit necessary for implementation of the iec-958 consumer in- terface. the cs4298 is capable of directly driving the voltage divider for the 75 w interface. an op- tional current driver is shown when an increase of the transmission range of the coaxial circuitry is required. an optional fiber optic circuit may be connected directly to the cs4298. 7.5 miscellaneous analog signals the afilt1 and afilt2 pins must have a 1000 pf npo capacitor (must not be smaller than 390 pf) to analog ground. these capacitors, along with an internal resistor, provide a single-pole low- pass filter at the inputs to the adcs. by placing these filters at the input to the adcs, low-pass filters at each analog input pin are not necessary. the refflt pin lowers the noise of the internal voltage reference. a 1 m f (must not be greater than 1 m f) and 0.1 m f capacitor to analog ground should be connected with a short, wide trace to this pin. no other connection should be made, as any coupling onto this pin will degrade the analog perfor- mance of the codec. likewise, digital signals should be kept away from refflt for similar reasons. figure 13. headphones driver agnd agnd agnd 1/4 watt 1/4 watt hp_out_r alt_line_out_l hp_out_l vrefout alt_line_out_r 22pf npo 39k w 4 1 2 3 22pf npo tda1308 + - 5 6 7 27k w 4 1 2 3 tda1308 + - 3 2 1 220 m f elec + 47k w 4 1 2 3 elec + 680pf npo 680pf npo 0.1 m f y5v 1.0 m f y5v 220 m f 10 w 10 w
cs4298 40 ds315pp2 the vrefout pin is typically 2.2 v and provides a common mode signal for single-supply external circuits. vrefout only supports light dc loads and should be buffered if ac loading is needed. for typical use, a 0.1 m f in parallel with a 1 m f capacitor should be connected to vrefout. 7.6 power supplies the power supplies providing analog power should be as clean as possible to minimize coupling into the analog section which could degrade analog performance. the pins avdd1 and avdd2 supply power to all the analog circuitry on the cs4298. this 5 volt analog supply should be generated from a voltage regulator (7805 type) connected to a +12 volt supply. this helps isolate the analog circuitry from noise typically found on +5 v digital supplies which power many digital circuits in a pc envi- ronment. a typical voltage regulator circuit for analog power using an mc78m05cdt is shown in figure 15. the digital power pins dvdd1 and dvdd2 should be connected to the same digital supply as the ac 97 controllers ac-link interface. since the digital interface on the cs4298 may operate at either 3.3 v or 5 v, proper connection of these pins will depend on the digital power supply of the ac 97 controller. connections (vias). the ac-link digital interface connection traces should be routed dgnd dgnd dgnd dgnd 1 2 1 2 374 90.9 1 5 4 8 1 2 j-rca-r4-pcb gnd vcc 1 2 4 5 +5 v pci 0.1 m f sn75179d dgnd dgnd dgnd +5v_pci spdifo totx-173 1 2 3 4 5 6 8.2k .1 m f spdifo figure 14. iec-958 interface examples +12vd agnd dgnd +5va 0.1 f y5v 10f elec + 10f elec + mc78m05cdt out 3 gnd 2 in 1 0.1f y5v figure 15. voltage regulator
cs4298 ds315pp2 41 such that digital ground plane lies underneath these signals (on the internal ground layer) from the ac 97 controller continuously to the cs4298. 7.7 hybrid interface figure 16 indicates the required components for the secondary side of the hybrid circuity required for the cs4298. the multiple configurations required for the line interface are beyond the scope of this document. please contact crystal applications engineering for additional information. . figure 16. hybrid circuit secondary caa 1000 pf co_lpf 0.033 m f rb1 10 k 1% rt1 140 1% r2_1 6650 1% r2_2 rb2 10 k 1% 6650 1% rt2 140 1% cblock 47 m f t1 671-8039 tx+ rx+ rx- tx- line interface midcom line
cs4298 42 ds315pp2 8. pin descriptions 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 41 43 45 47 33 35 37 39 7 5 3 1 15 13 11 9 57 58 59 60 13 14 15 16 17 18 19 20 9 10 11 12 5 6 7 8 1 2 3 4 61 62 63 64 21 22 23 24 17 19 21 23 25 27 29 31 63 61 59 57 55 53 51 49 8 6 4 2 16 14 12 10 18 20 22 24 26 28 30 32 42 44 46 48 34 36 38 40 64 62 60 58 56 54 52 50 64-pin tqfp top view flti flto gpio9 gpio8 gpio7/tp3 gpio6/tp2 gpio5/tp1 gpio4/tp0 gpio3 gpio2 gpio1 gpio0 dvdd1 xtl_out xtl_in dvss1 sdata_out bit_clk dvss2 sdata_in dvdd2 sync reset# s/pdif_out bcm# aux_l aux_r video_l video_r cd_l cd_gnd cd_r flt3d avss5 hrx- hrx+ avss4 htx- htx+ avdd4 avss3 mtx- mtx+ avdd3 mrx- mrx+ id0# alt_line_out_r alt_line_out_l avss2 avdd2 line_out_r line_out_l id1# aflt2 aflt1 vrefout refflt avss1 avdd1 line_in_r line_in_l mic2 mic1 cs4298-kq
cs4298 ds315pp2 43 8.1 g2 digital i/o pins reset# - ac 97 chip reset, input this active low signal is the asynchronous cold reset input to the cs4298. the cs4298 must be reset before it can enter normal operating mode. when the pr4 bit of register 26h is set, the reset# rising edge will be used as an ac 97 2.1 warm reset only, preserving register values. sync - ac-link serial port sync pulse, input this signal is the serial port timing signal for the ac-link of the cs4298. its period is the reciprocal of the sample rate of the cs4298, 48 khz. this signal is generated by the ac 97 controller and is synchronous to bit_clk. sync is also an asynchronous input when the cs4298 is in a pr4 powerdown state and is configured as a primary codec. a series terminating resistor of 47 w should be connected on this signal close to the device driving the signal. bit_clk - ac-link serial port master clock, input/output this input/output signal controls the master clock timing for the ac-link. in codec primary mode, this signal is an output 12.288 mhz clock signal which is divided down by two from the xtl_in input clock pin. in codec secondary mode, this signal is an input which controls the ac-link serial interface. in bit_clk mode, this signal generates all internal clocking including the ac-link serial interface timing. a series terminating resistor of 47 w should be connected on this signal close to the cs4298 in primary mode or close to the bit_clk source if in secondary mode. sdata_out - ac-link serial data input stream to ac 97, input this input signal transmits the control information and digital audio output streams to be sent to the dacs. the data is clocked into the cs4298 on the falling edge of bit_clk. a series terminating resistor of 47 w should be connected on this signal close to the device driving the input. sdata_in - ac-link serial data output stream from ac 97, output this output signal transmits the status information and digital audio input streams from the adcs. the data is clocked out of the cs4298 on the rising edge of bit_clk. a series terminating resistor of 47 w should be connected on this signal as close to the cs4298 as possible. xtl_in - crystal input this pin accepts either a crystal, with the other pin attached to xtl_out, or an external cmos clock. xtl_in must have a crystal or clock source attached for proper operation except when operating in bit_clk mode. the crystal frequency must be 24.576 mhz and designed for fundamental mode, parallel resonance operation.
cs4298 44 ds315pp2 xtl_out - crystal output this pin is used for a crystal placed between this pin and xlt_in. if an external clock is used on xtl_in or the codec is in bit_clk mode, this pin must be left floating with no traces or components connected to it. id1#, id0# - codec id, inputs these pins select the codec id and mode of operation for the cs4298. they are sampled after the rising edge of reset# and not used after. these inputs have internal 100 k w pull-ups and should be left floating for a logic 0 or tied to analog ground for a logic 1. the pins utilize inverted logic, so the condition of both pins floating sets the codec to primary mode while any other combination sets the codec to a secondary mode. in primary mode, the codec is always clocked from an external crystal or an external oscillator connected to the xtl_in and/or xtl_out pins with bit_clk as an output. in secondary mode, the clocking mechanism is determined by the state of the bcm# pin with bit_clk always being an input. bcm# - bit_clk mode, input this pin selects the secondary mode clocking mechanism. bcm# is sampled after the rising edge of reset# and not used after. in codec secondary mode (id1# and or id0# grounded), grounding this input will select bit_clk mode. in this mode, bit_clk is defined as an input and all internal timing will be derived from the bit_clk signal and no connections should be made to xtal_in and xtal_out. when bcm# is floating, all timing will be derived from the xtal_in pin. in this case, xtal_in must be syncronous to bit_clk. in primary mode, bcm# must be left floating. s/pdif_out - sony/phillips digital interface, output this pin generates iec 958 consumer compatible (s/pdif) digital output from the cs4298 using output slots 6 and 9 when the spdif_en bit in register 68h is set. for use with consumer audio equipment, the output may be used to drive an rs422a compliant interface through an isolation transformer, or a cp-1201 compliant interface through a toslink module. when s/pdif_out is not being used this output is driven to a logic 0. gpio[9:0] - general purpose input/output these gpio pins are used to control modem daas and other discrete digital functions. when a gpio pin is configured as an input, it behaves as a schmitt trigger input with 350 mv of hysteresis at 5 v and 220 mv of hysteresis at 3.3 v. when a gpio pin in configured as an output, it may function as a normal cmos output (4 ma drive) or as an open drain output. gpio pins power up in the high impedance state (tri-state).
cs4298 ds315pp2 45 8.2 analog i/o pins mic1 - analog mono source, input this analog input is a monophonic source to the analog output mixer. it is intended to be used as a desktop microphone connection to the audio subsystem. this input is mux selectable to the input mixer with the mic2 input source. the maximum allowable input is 1 v rms (sinusoidal). if the 20 db internal boost is enabled, the maximum allowable input is 100 mv rms (sinusoidal). this input is internally biased at the vrefout voltage reference and requires ac coupling to external circuitry. if this input is not used, it should be ac coupled to analog ground. mic2 - analog mono source, input this analog input is a monophonic source to the analog output mixer. it is intended to be used as an alternate microphone connection to the audio subsystem. this input is mux selectable to the input mixer with the mic1 input source. the maximum allowable input is 1 v rms (sinusoidal). if the 20 db internal boost is enabled, the maximum allowable input is 100 mv rms (sinusoidal).this input is internally biased at the vrefout voltage reference and requires ac coupling to external circuitry. if this input is not used, it should be ac coupled to analog ground. line_in_l and line_in_r- analog line source, inputs these inputs form a stereo input pair to the cs4298. the maximum allowable input is 1v rms (sinusoidal). these inputs are internally biased at the vrefout voltage reference. ac coupling to external circuitry is required. if these inputs are not used, they should both be connected to the vrefout pin or both ac coupled, with separate ac coupling caps, to analog ground. cd_l and cd_r - analog cd source, inputs these inputs form a stereo input pair to the cs4298. it is intended to be used for the red book cd audio connection to the audio subsystem. the maximum allowable input is 1 v rms (sinusoidal). these inputs are internally biased at the vrefout voltage reference. ac coupling to external circuitry is required. if these inputs are not used, they should both be connected to the vrefout pin or both ac coupled, with separate ac coupling caps, to analog ground. cd_gnd - analog cd common source, input this analog input is used to remove common mode noise from red book cd audio signals. the impedance on the input signal path should be one half the impedance on the cd_l and cd_r input paths. this pin requires ac coupling to external circuitry. if this input is not used, it should be connected to the vrefout pin or ac coupled to analog ground.
cs4298 46 ds315pp2 video_l and video_r - analog video audio source, inputs these inputs form a stereo input pair to the cs4298. it is intended to be used for the audio signal output of a video device. the maximum allowable input is 1 v rms (sinusoidal). these inputs are internally biased at the vrefout voltage reference. ac coupling to external circuitry is required. if these inputs are not used, they should both be connected to the vrefout pin or both ac coupled, with separate ac coupling caps, to analog ground. aux_l and aux_r - analog auxiliary source, inputs these inputs form a stereo input pair to the cs4298. the maximum allowable input is 1 v rms (sinusoidal). these inputs are internally biased at the vrefout voltage reference. ac coupling to external circuitry is required. if these inputs are not used, they should both be connected to the vrefout pin or both ac coupled, with separate ac coupling caps, to analog ground. line_out_l and line_out_r - analog line level outputs these signals are analog outputs from the stereo output mixer. the full scale output voltage for output is nominally 1 v rms and is internally biased at the vrefout voltage reference. it is required to either ac couple these pins to external circuitry or dc couple them to a buffer op- amp biased at the vrefout voltage. these pins need a 680 pf npo capacitor attached to analog ground. alt_line_out_l and alt_line_out_r - analog alternate line level outputs these signals are analog outputs from the stereo output mixer. the full scale output voltage for each output is nominally 1 v rms and is internally biased at the vrefout voltage reference. it is required to either ac couple these pins to external circuitry or dc couple them to a buffer op- amp biased at the vrefout voltage. these pins need a 680 pf npo capacitor attached to analog ground. 8.3 filter and reference pins refflt - internal reference voltage, input this is the voltage reference used internal to the part. a 0.1 m f and a 1 m f (must not be larger than 1 m f) capacitor with short, wide traces must be connected to this pin. no other connections should be made to this pin. vrefout - voltage reference, output all analog inputs and outputs are centered around vrefout which is nominally 2.2 volts. this pin may be used to level shift external circuitry, however any external loading should be buffered. aflt1 - left channel antialiasing filter input this pin needs a 390 pf npo capacitor attached to analog ground. aflt2 - right channel antialiasing filter input this pin needs a 390 pf npo capacitor attached to analog ground.
cs4298 ds315pp2 47 flti - 3d filter input a 1000 pf capacitor must be attached between this pin and flto if the 3d function is used. flto - 3d filter output a 1000 pf capacitor must be attached between this pin and flti if the 3d function is used. flt3d - 3d filter a 0.01 m f capacitor must be attached from this pin to agnd if the 3d function is used. 8.4 modem/telephony mrx+, mrx- - modem line differential receive, inputs this differential input receive pair connects to a 2- to 4-wire hybrid converter or an integrated daa and is used to sample the analog phone line signal. the maximum full scale differential input is 3.0 vp-p. these pins may be used in single ended fashion by connecting the input to mrx+ and ac-grounding the mrx- pin, or by tying one of the two inputs to vrefout to provide dc-biasing. hrx+, hrx- - handset differential receive, inputs this differential input receive pair connects to a 2- to 4-wire hybrid converter and is used to communicate with the local handset. these input pins may also be used to interface to a second telephone line. the maximum full scale differential input is 3.0 vp-p. these pins may be used in single ended fashion by connecting the input to hrx+ and ac-grounding the hrx- pin, or by tying one of the two inputs to vrefout to provide dc-biasing. mtx+, mtx- - modem line differential transmit, outputs this differential transmit output pair connects the a 2- to 4-wire hybrid converter or an integrated daa and is used to transmit over the analog phone line. the maximum full scale differential output is 5.6 vp-p (mtx+ to mtx-). each output pin is internally biased at the vrefout voltage. these pins may be used in single ended fashion by using one leg of the differential output pair. the maximum output for each pin is 2.8 vp-p or 1.0 vrms. htx+, htx- - handset differential transmit, outputs this differential transmit output pair connects the a 2- to 4-wire hybrid converter or an integrated daa and is used to transmit over the analog phone line. the maximum full scale differential output is 5.6 vp-p (htx+ to htx-). each output pin is internally biased at the vrefout voltage. these pins may be used in single ended fashion by using one leg of the differential output pair. the maximum output for each pin is 2.8 vp-p or 1.0 vrms.
cs4298 48 ds315pp2 8.5 power supplies dvdd1, dvdd2 - digital supply voltage these pins provide the digital supply voltage for the ac-link section of the cs4298. these pins may be tied to +5 v digital or to +3.3 v digital. the cs4298 and digital controllers ac-link should share a common digital supply. dvss1, dvss2 - digital ground these pins are the digital ground connection for the ac-link section of the cs4298. these pins should be isolated from analog ground currents. avdd1, avdd2, avdd3, avdd4 - analog supply voltage these pins provide the analog supply voltage for the analog and mixed signal sections of the cs4298. these pins must be tied to +5 v analog supply. it is strongly recommended that +5 v be generated from a voltage regulator to ensure proper supply currents and noise immunity from the rest of the system. avss1, avss2, avss3, avss4, avss5 - analog ground these pins are the ground connection for the analog, mixed signal, and substrate sections of the cs4298. these pins should be isolated from digital ground currents.
cs4298 ds315pp2 49 9. parameter and term definitions ac 97 specification refers to the audio codec 97 component specification ver 2.1 published by intel ? corporation []. ac 97 controller or controller refers to the control chip which interfaces to the codecs ac-link. this has been also called dc 97 for digital controller 97 []. ac 97 registers or codec registers refers to the 64-field register map defined in the ac 97 specification. adc refers to a single analog-to-digital converter in the codec. adcs refers to the stereo pair of analog-to-digital converters. dac a single digital-to-analog converter in the codec dacs refers to the stereo pair of digital- to-analog converters. src sample rate converter. converts data derived at one sample rate to a differing sample rate. codec refers to the chip containing the adcs, dacs, and analog mixer. in this data sheet, the codec is the cs4297a9. fft fast fourier transform. resolution the number of bits in the output words to the dacs, and in the input words to the adcs. differential nonlinearity the worst case deviation from the ideal code width. units in lsb. db fs a db fs is defined as db relative to full-scale. the a indicates an a weighting filter was used.
cs4298 50 ds315pp2 frequency response (fr) fr is the deviation in signal level verses frequency. the 0 db reference point is 1 khz. the amplitude corner, ac, lists the maximum deviation in amplitude above and below the 1 khz reference point. the listed minimum and maximum frequencies are guaranteed to be within the ac from minimum frequency to maximum frequency inclusive. dynamic range (dr) dr is the ratio of the rms full-scale signal level divided by the rms sum of the noise floor, in the presence of a signal, available at any instant in time (no change in gain settings between measurements). measured over a 20 hz to 20 khz bandwidth with units in db fs a. total harmonic distortion plus noise (thd+n) thd+n is the ratio of the rms sum of all non-fundamental frequency components, divided by the rms full-scale signal level. it is tested using a -3 db fs input signal and is measured over a 20 hz to 20 khz bandwidth with units in db fs. signal to noise ratio (snr) snr, similar to dr, is the ratio of an arbitrary sinusoidal input signal to the rms sum of the noise floor, in the presence of a signal. it is measured over a 20 hz to 20 khz bandwidth with units in db. s/pdif sony/phillips digital interface. this interface was established as a means of digitally interconnecting consumer audio equipment. the documentation for s/pdif has been superseded by the iec-958 consumer digital interface document. interchannel isolation the amount of 1 khz signal present on the output of the grounded ac-coupled line input channel with 1 khz, 0 db, signal present on the other line input channel. units in db. interchannel gain mismatch for the adcs, the difference in input voltage to get an equal code on both channels. for the dacs, the difference in output voltages for each channel when both channels are fed the same code. units in db. paths a-d: analog in, through the adc, onto the serial link. d-a: serial interface inputs through the dac to the analog output. a-a: analog in to analog out (analog mixer). 10. references intel, audio codec 97 component specification , revision 2.1, may 22,1998. http://developer.intel.com/pc-supp /platform/ac97 /
cs4298 ds315pp2 51 11. package dimensions inches millimeters dim min max min max a --- 0.063 --- 1.60 a1 0.002 0.006 0.05 0.15 b 0.007 0.011 0.17 0.27 d 0.461 0.484 11.70 12.30 d1 0.390 0.398 9.90 10.10 e 0.461 0.484 11.70 12.30 e1 0.390 0.398 9.90 10.10 e* 0.016 0.024 0.40 0.60 l 0.018 0.030 0.45 0.75 0.000 7.000 0.00 7.00 * nominal pin pitch is 0.50 mm controlling dimension is mm. jedec designation: ms026 64l tqfp package drawing e1 e d1 d 1 e l b a1 a


▲Up To Search▲   

 
Price & Availability of CS4298-JQ

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X